
layui.define(['table', 'form'], function(exports){
	var $ = layui.$
		,admin = layui.admin
		,view = layui.view
		,table = layui.table
		,form = layui.form;

	//列表
	table.render({
		elem: '#LAY-user-back-manage'
		,url: './admin_log/list' //`id`, `username`, `title`, `ip`, `createtime`
		,cols: [[
			{type: 'checkbox', fixed: 'left'}
			,{field: 'id', width: 80, title: 'ID', sort: true}
			,{field: 'username', title: '登录名', sort: true}
			,{field: 'ip', title: '操作IP', sort: true}
			,{field: 'createtime', title: '操作时间', sort: true}
			,{field: 'title', title: '操作内容'}
			// ,{title: '操作', width: 150, align: 'center', fixed: 'right', toolbar: '#table-useradmin-admin'}
		]]
		,text: '对不起，加载出现异常！'
		,page: true
		,limit: 30
		,height: 'full-320'
	});




	exports('adminlog', {})
});